#-*-coding=UTF-8-*-
import requests

raw_cookies = r'll="118254"; bid=WTq-ItGdPmI; _pk_ref.100001.8cb4=%5B%22%22%2C%22%22%2C1477146807%2C%22https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3D0P5kgS6r2lreGM6RniYAjtIeeR6jAdtXGceXD5oBPS_%26wd%3D%26eqid%3D91793c9b00010aee00000005580b6090%22%5D; _pk_id.100001.8cb4=2bbf7c410aeb19b6.1477134658.3.1477146853.1477142374.; __utma=30149280.1272198289.1477134659.1477140700.1477146810.3; __utmc=30149280; __utmz=30149280.1477140700.2.2.utmcsr=accounts.douban.com|utmccn=(referral)|utmcmd=referral|utmcct=/login; ps=y; ue="whu_ysw@163.com"; push_noty_num=0; push_doumail_num=0; __utmv=30149280.15285; _vwo_uuid_v2=E7B67A3AA632E1F1654B249D2397C59E|762fb3392dd00b39ec476e65fabb5413; ap=1; _pk_ses.100001.8cb4=*; __utmb=30149280.3.10.1477146810; __utmt=1; dbcl2="152852594:swqDjzwJX2Q"; ck=k6OW'

des_url = r'https://www.douban.com/people/152852594/'
cookies = {}
for line in raw_cookies.split(';'):
	key,value = line.split('=',1)
	cookies[key] = value 

result = requests.post(des_url,cookies=cookies)

print result.status_code
